Embed
POST/embed
Embed
To send a batch of requests all at once, the text field can be either a string, or an array of strings. This server also supports dynamic batching, where requests in a short time interval are processed as a single batch.
Request​
- application/json
Body
required
- MOD1
- MOD2
Array [
]
consumer_group stringnullable
text
object
required
oneOf
string
string
Responses​
- 200
- 422
- 503
Takes in a JSON payload and returns the embedded data.
- application/json
- Schema
- Example (from schema)
Schema
result array[]required
{
"result": [
[
0
]
]
}
Malformed request body
The server is not ready to process requests yet.
Loading...